package com.walterlife.dp.FacadeDP;

import java.sql.Connection;

import org.apache.log4j.Logger;

public class MySqlHelper {

    private static Logger logger = Logger.getLogger(MySqlHelper.class);

    public static Connection getMysqlDBConnection() {
        //TODO get mysql conn use connect params
        logger.info("MySqlHelper getMysqlDBConnection");
        return null;
    } 

    public void generateMySqlPDFReport(String tbName, Connection conn) {
        //TODO get data from table and generate pdf report
        logger.info("MySqlHelper generateMySqlPDFReport for tbName " + tbName + "!!!");
    } 

    public void generateMySqlHTMLReport(String tbName, Connection conn) {
        //TODO get data from table and generate html report
        logger.info("MySqlHelper generateMySqlHTMLReport for tbName " + tbName + "!!!");
    } 
}
